<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
<head>
<title>文章列表</title>
<%@include file="/WEB-INF/jsp/public/commons.jspf"%>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/style/css.css"/>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/style/css1.css"/>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/style/web-ui.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/style/skin-02.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/style/your-custom.css" />
</head>
<body>
<div class="container">
<ol class="breadcrumb">
  <li><a href="home_outerCentre.action">首页</a></li>
  <li class="active">
  		<c:if test="${recordList[0].type==0}">
			最新要闻
		</c:if>
		<c:if test="${recordList[0].type==1}">
			常见问题
		</c:if>
		<c:if test="${recordList[0].type==2}">
			政策法规
		</c:if>
  </li>
</ol>
</div>
<!-- 类别标题显示 -->
<h2 class="text-center" style="margin-top: 50px;">
	<span class="t145 blue_title">
		<c:if test="${recordList[0].type==0}">
			最新要闻
		</c:if>
		<c:if test="${recordList[0].type==1}">
			常见问题
		</c:if>
		<c:if test="${recordList[0].type==2}">
			政策法规
		</c:if>
	</span>
</h2>
<!-- 文章列表显示 -->
<div class="main">
	<div class="within mtop">
		<div class="border2" style="width: 1000px;">
		<div class="clear"></div>
		<ul class="blue w968">
	        <table class="grid_paging" width="100%">
	            <s:iterator value="recordList" status="status">
	            	<tr btn_condition="${status.count-1}">
						<td >
							<ul class="w968">
								<li>
									<span class="text2">
										<a href="news_findNews.action?newsid=${id}">${title}</a>
									</span>
									<span class="time">
										<fmt:formatDate value="${postTime}" pattern="yyyy-MM-dd"/>
									</span>
								</li>
							</ul>
			            </td>
		            </tr>
				</s:iterator>
	       </table>
		</ul>
	       <!-- 添加分页 -->
	       <%@include file="/WEB-INF/jsp/public/pageView.jspf"%>
		   <form id="pageCondition" action="news_findAllNews.action"></form>
		</div>
	</div>
</div>
</body>

</html>